/*
* @(#)ListUpdateAlertSummaryAction.java
*
* Copyright (c) 2003 DCIVision Ltd
* All rights reserved.
*
* This software is the confidential and proprietary information of DCIVision
* Ltd ("Confidential Information").  You shall not disclose such Confidential
* Information and shall use it only in accordance with the terms of the license
* agreement you entered into with DCIVision Ltd.
*/

package com.dcivision.alert.web;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionMapping;

import com.dcivision.framework.ApplicationException;
import com.dcivision.framework.web.AbstractListAction;
import com.dcivision.framework.web.AbstractSearchForm;

/**
 * <p>Class Name:       ListUpdateAlertSummaryAction.java    </p>
 * <p>Description:      The list action class for ListUpdateAlertSummary.jsp</p>
 * @author           Zoe Shum
 * @company          DCIVision Limited
 * @creation date    30/01/2004
 * @version          $Revision: 1.4 $
 */
public class ListUpdateAlertSummaryAction extends AbstractListAction {

  public static final String REVISION = "$Revision: 1.4 $";


  /**
   *  Constructor - Creates a new instance of ListUpdateAlertSummaryAction and define the default listName.
   */
  public ListUpdateAlertSummaryAction() {
    super();
    this.setListName("updateAlertSummaryList");
  }

  /**
   * getMajorDAOClassName
   *
   * @return  The class name of the major DAObject will be used in this action.
   */
  public String getMajorDAOClassName() {
    return("com.dcivision.alert.dao.UpdateAlertDAObject");
  }

  /**
   * getFunctionCode
   *
   * @return  The corresponding system function code of action.
   */
  public String getFunctionCode() {
    return(null);
  }

  /**
   * getListData
   *
   * Override the parent's function. Since it required to get the user role
   *
   * @param mapping
   * @param form
   * @param request
   * @param response
   * @throws ApplicationException
   */
  public void getListData(ActionMapping mapping, AbstractSearchForm form, HttpServletRequest request, HttpServletResponse response) throws ApplicationException {
    super.getListData(mapping, form, request, response);

    // Get the user groups and user roles of each user record.


  }
}
